﻿@inherits BulldogCMS.Core.MVC.BulldogWebViewPage<dynamic>
              
@{
    ViewBag.Title = "_ManagerLayout";
    Layout = "~/Views.Shared._Layout.cshtml";
    var managerContext = BulldogCMS.Manager.ManagerContext.Current;
}

<div id="container" class="clearfix">
    <ul id="leftmenu">
        <li id="logo"></li>
        <li id="back-button"></li>
        <li id="favs-button"></li>
        <li id="prompt-button"></li>
        @RenderSection("Leftmenu", false)
    </ul>
	<div id="central">
	    <div id="header">
		    <ul id="topmenu">
                <li><a href="@Module.ResolveUrl("~/desktop")">Desktop</a></li>
                <li><a href="@Module.ResolveUrl("~/content")">Content</a></li>
                <li><a href="@Module.ResolveUrl("~/media")">Media</a></li>
                <li><a href="@Module.ResolveUrl("~/search")">Search</a></li>
                <li><a href="@Module.ResolveUrl("~/system")">System</a></li>
                <li><a href="@Module.ResolveUrl("~/cmd")">Command</a></li>
                <li class="right">
                    <a href="@Module.ResolveUrl("~/account/details")">@managerContext.User.Email</a>
                </li>
            </ul>
	    </div>

	    <div id="footer">
		        
	    </div>

        <div id="breadcrumb">
            @RenderSection("Breadcrumb", false)
        </div>

        <div id="version-selector-space">
            @RenderSection("VersionSelector", false)
        </div>

        <div id="prompt-space">
                            
        </div>

        <div id="add-space" class="one-space-only">
            @RenderSection("AddSpace", false)                
        </div>

        <div id="favs-space" class="one-space-only">
            <h1>Favorite nodes</h1>
            <div class="loading"></div>
        </div>

        <div id="current-node">
            <h1 id="bigtitle">
                @RenderSection("BigTitle", false)
            </h1>
            <div id="space">
                @RenderBody()
            </div>
        </div>
	</div>

	<ul id="rightmenu">
        @RenderSection("Rightmenu", false)
	</ul>
</div>

@section Scripts {
    @RenderSection("Scripts", false)
}